package com.glela.statistics.model;

/**
 * 月销售明细模型
 * @author MaoZeYao
 *
 */
public class SalesMonthReport {
	
	private int id;
	
	private long userId;
	
	private int monthSales; // 当月销售统计
	
	private int selfSupportFalse; // 当月非自营销售
	
	private int selfSupportTrue; // 当月自营销售
	
	private String createTime; // 创建时间

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public int getSelfSupportFalse() {
		return selfSupportFalse;
	}

	public void setSelfSupportFalse(int selfSupportFalse) {
		this.selfSupportFalse = selfSupportFalse;
	}

	public int getSelfSupportTrue() {
		return selfSupportTrue;
	}

	public void setSelfSupportTrue(int selfSupportTrue) {
		this.selfSupportTrue = selfSupportTrue;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getMonthSales() {
		monthSales =  selfSupportTrue + selfSupportFalse;
		return monthSales;
	}

	public void setMonthSales(int monthSales) {
		this.monthSales = monthSales;
	}
	
}
